package com.mairuide.bill.titlepool;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.mairuide._frame.base.BaseModel;

/**
 * 流水标题表
 * @author mh
 *
 */
@Entity
@Table(name="tb_deal_flow_title")
public class DealFlowTitle extends BaseModel{
	
	/**
	 * id
	 */
	@Id
	@Column(name="id")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "deal_flow_title")
	@SequenceGenerator(name = "deal_flow_title", sequenceName = "SEQ_DEAL_FLOW_TITLE",allocationSize=1)
	private Integer id;
	
	/**
	 * 标题头
	 */
	@Column(name="head_title")
	private String headTitle;
	
	/**
	 * 对应字段
	 */
	@Column(name="mapping_field")
	private String mappingField;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getHeadTitle() {
		return headTitle;
	}

	public void setHeadTitle(String headTitle) {
		this.headTitle = headTitle;
	}

	public String getMappingField() {
		return mappingField;
	}

	public void setMappingField(String mappingField) {
		this.mappingField = mappingField;
	}
	
}
